package com.javasea.scene.distributed.locks.redis.redissionimpl;

import lombok.extern.slf4j.Slf4j;
import org.redisson.api.RLock;
import org.redisson.api.RedissonClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.concurrent.TimeUnit;

/**
 *@ClassName RedissonService
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2021/4/21 0021 17:00
 */
@Slf4j
@Service
public class RedissonService {

    @Autowired
    private RedissonClient redissonClient;

    public String test(){
        return "";
    }

}
